//
//  SRSportView.h
//  SportRing
//
//  Created by icelee on 14-10-27.
//  Copyright (c) 2014年 HotOne. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "LGBaseView.h"
#import "SRAimSportView.h"

@class SRSportView;

#pragma mark - viewModel

@interface SRSportViewModel : NSObject

@property(nonatomic, assign)int steps;
@property(nonatomic, assign)float calorie;
@property(nonatomic, assign)float distance;
@property(nonatomic, assign)SRAimSportViewModel *aimSportViewModel;

- (id)initWithSteps:(float)steps calorie:(float)calorie distance:(float)distance aimModel:(SRAimSportViewModel *)aimModel;

- (NSString *)description;

@end


@protocol SRSportViewDelegate <NSObject>

@optional
- (void)onedaySportDetail:(SRSportView *)srSportView;

@end

#pragma mark - view

@interface SRSportView : LGBaseView

@property (nonatomic, weak)IBOutlet id<SRSportViewDelegate> srSportDelegate;

- (void)setSRSportViewDataWithModel:(SRSportViewModel*)srSportViewModel;

@end
